package com.ruoyi.web.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会员对象 member
 * 
 * @author ruoyi
 * @date 2021-11-07
 */
public class Member extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long ID;

    /** 客户姓名 */
    @Excel(name = "客户姓名")
    private String NAME;

    /** 客户电话 */
    @Excel(name = "客户电话")
    private String PHONE;

    /** 客户住址 */
    @Excel(name = "客户住址")
    private String ADDRESS;

    /** 注册时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date regestTime;

    /** 最后活跃时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后活跃时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastActiveTime;

    /** 客户生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "客户生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date BIRTHDAY;

    /** 预留字段1 */
    @Excel(name = "预留字段1")
    private String EXTEND1;

    /** 预留字段1 */
    @Excel(name = "预留字段1")
    private String AMOUNT;

    /** openId */
    private String openId;

    /** 客户渠道：1.管理员添加；2.微信注册； */
    @Excel(name = "客户渠道：1.管理员添加；2.微信注册；")
    private String CHANNEL;

    public void setID(Long ID) 
    {
        this.ID = ID;
    }

    public Long getID() 
    {
        return ID;
    }
    public void setNAME(String NAME) 
    {
        this.NAME = NAME;
    }

    public String getNAME() 
    {
        return NAME;
    }
    public void setPHONE(String PHONE)
    {
        this.PHONE = PHONE;
    }

    public String getPHONE()
    {
        return PHONE;
    }
    public void setADDRESS(String ADDRESS) 
    {
        this.ADDRESS = ADDRESS;
    }

    public String getADDRESS() 
    {
        return ADDRESS;
    }
    public void setRegestTime(Date regestTime) 
    {
        this.regestTime = regestTime;
    }

    public Date getRegestTime() 
    {
        return regestTime;
    }
    public void setLastActiveTime(Date lastActiveTime) 
    {
        this.lastActiveTime = lastActiveTime;
    }

    public Date getLastActiveTime() 
    {
        return lastActiveTime;
    }
    public void setBIRTHDAY(Date BIRTHDAY) 
    {
        this.BIRTHDAY = BIRTHDAY;
    }

    public Date getBIRTHDAY() 
    {
        return BIRTHDAY;
    }
    public void setEXTEND1(String EXTEND1) 
    {
        this.EXTEND1 = EXTEND1;
    }

    public String getEXTEND1() 
    {
        return EXTEND1;
    }
    public void setCHANNEL(String CHANNEL) 
    {
        this.CHANNEL = CHANNEL;
    }

    public String getCHANNEL() 
    {
        return CHANNEL;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getAMOUNT() {
        return AMOUNT;
    }

    public void setAMOUNT(String AMOUNT) {
        this.AMOUNT = AMOUNT;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ID", getID())
            .append("NAME", getNAME())
            .append("PHONE", getPHONE())
            .append("ADDRESS", getADDRESS())
            .append("regestTime", getRegestTime())
            .append("lastActiveTime", getLastActiveTime())
            .append("BIRTHDAY", getBIRTHDAY())
            .append("EXTEND1", getEXTEND1())
            .append("CHANNEL", getCHANNEL())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("AMOUNT", getAMOUNT())
            .toString();
    }
}
